<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    
    // json中没有变量,且必须用双引号,请看json文件
    let obj = {
        "name": "Jack",
        "age": 29,
        "school": {
            "name": "Merrimack College",
            "location": "North Andover, MA"
        }
    }
</script>
</body>
</html>